package cn.stylefeng.guns.modular.rec.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.rec.entity.TransportDispatchVolMatch;
import cn.stylefeng.guns.modular.rec.model.params.TransportDispatchVolMatchParam;
import cn.stylefeng.guns.modular.rec.model.result.TransportDispatchVolMatchResult;
import cn.stylefeng.roses.core.reqres.response.ResponseData;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 * 客户订单体积匹配结果表 服务类
 * </p>
 *
 * @author zhangzh
 * @since 2024-10-18
 */
public interface TransportDispatchVolMatchService extends IService<TransportDispatchVolMatch> {

    /**
     * 新增
     *
     * @author zhangzh
     * @Date 2024-10-18
     */
    void add(TransportDispatchVolMatchParam param);

    /**
     * 删除
     *
     * @author zhangzh
     * @Date 2024-10-18
     */
    void delete(TransportDispatchVolMatchParam param);

    /**
     * 更新
     *
     * @author zhangzh
     * @Date 2024-10-18
     */
    void update(TransportDispatchVolMatchParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author zhangzh
     * @Date 2024-10-18
     */
    TransportDispatchVolMatchResult findBySpec(TransportDispatchVolMatchParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author zhangzh
     * @Date 2024-10-18
     */
    List<TransportDispatchVolMatchResult> findListBySpec(TransportDispatchVolMatchParam param);

    List<TransportDispatchVolMatchResult> findTranListBySpec(TransportDispatchVolMatchParam param);


    /**
     * 查询分页数据，Specification模式
     *
     * @author zhangzh
     * @Date 2024-10-18
     */
     LayuiPageInfo findPageBySpec(TransportDispatchVolMatchParam param, String condition);

    LayuiPageInfo findTranPageBySpec(TransportDispatchVolMatchParam param, String condition);

    LayuiPageInfo customTran2PageList(TransportDispatchVolMatchParam param, String condition);

    LayuiPageInfo customTran3PageList(TransportDispatchVolMatchParam param, String condition);

    ResponseData getExceldata(MultipartFile file,Long operateId);

    ResponseData replaceOption(String ids);

    ResponseData delAll(String ids);



}
